#include "StaticJavaLib.h"
#include "gc.h"
struct ArrayIndexConstant{
};

void main(int argc,char** argv){
  int* i_array;
  gc_add_root_node(&i_array);
  i_array = (int*)gc_malloc(sizeof(int)*3);
  *(i_array+0) = 1;
  *(i_array+1) = 2;
  *(i_array+2) = 3;
  i_array[0] = 1;
  gc_free_root_node(&i_array);
  gc_recycle();
}
